home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / 1173_Form_and_FormCell_differences.rtf < prev    next >
Text File  |  1995-06-12  |  2KB  |  19 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f3\fswiss Helvetica;}
  2. \paperw9840
  3. \paperh8400
  4. \margl120
  5. \margr120
  6. {\colortbl;\red0\green0\blue0;\red84\green84\blue84;\red83\green83\blue83;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs28\fc1\cf1 Q:  What is the difference between a Form and a FormCell?  How do I make the correct connections in InterfaceBuilder?\
  8. \
  9. A:  A Form is a matrix of FormCells.  Even a matrix with only one FormCell is a Form.  If you have created a single FormCell with InterfaceBuilder and want to connect to the Form, carefully control-drag to the edge of the cell.  When it is outlined in gray, you are connecting to the Form.  Control-drag further into cell, and it is outlined in black; now you are connecting to the FormCell.  Look at the "Comments" field in the InterfaceBuilder inspector while you are making your connection—it tells you what class the outlet is, for example, "Destination is of the Form Class."  The same is true when you are connecting to a Form with more than one FormCell.  Drag to the outside edge or in between cells; the form is outlined in gray and you are connecting to the form.  Drag to a particular FormCell; it is outlined in black and you are connecting to that FormCell.\
  10. \
  11. Note: In NEXTSTEP Release 3, the "Comments" field in the InterfaceBuilder Inspector has been replaced by a "Connections" field. The information displayed is self-explanatory: The left side shows the outlet name, while the right side shows the class name.\
  12. \
  13. QA513    \
  14. \
  15. Valid for 1.0, 2.0, 3.0\
  16. \
  17.  
  18.  
  19.